package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

/**
 * 学生表 erp_student
 * 
 * @author ruoyi
 * @date 2019-01-17
 */
public class Student extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 名称 */
	private String name;
	/** 地址 */
	private String address;
	/** 学号 */
	private String number;
	/** 班级Id */
	private Integer classes;
	/** 老师名称 */
	private String teacheName;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setAddress(String address) 
	{
		this.address = address;
	}

	public String getAddress() 
	{
		return address;
	}
	public void setNumber(String number) 
	{
		this.number = number;
	}

	public String getNumber() 
	{
		return number;
	}
	public void setClasses(Integer classes) 
	{
		this.classes = classes;
	}

	public Integer getClasses() 
	{
		return classes;
	}
	public void setTeacheName(String teacheName) 
	{
		this.teacheName = teacheName;
	}

	public String getTeacheName() 
	{
		return teacheName;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("address", getAddress())
            .append("number", getNumber())
            .append("classes", getClasses())
            .append("teacheName", getTeacheName())
            .toString();
    }
}
